from typing import List

from fastapi import Form
from pydantic import BaseModel

headers = {
    "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9",
    'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36'

}

class PdfSoopatLogin(BaseModel):
    username: str = ''
    password: str = ''
    marks: List[str] = []

class PdfSoopatDownPdf(BaseModel):
    appnum: str = ''
    cookie: dict = dict()
    marks: List[str] = []
